
export interface Organisation {
    ID: number
    CreatedAt: string
    UpdatedAt: string
    DeletedAt: null | string
    Name: string
    ExternalSource: string
    ExternalId: string
  }

export interface OrgSettings {
  drift_webhook_url: string
  drift_enabled: boolean
  drift_cron_tab: string
}


export interface Project {
    id: number
    name: string
    directory: string
    repo_full_name: string
    drift_enabled: boolean
    drift_status: string
    latest_drift_check: string | null
    drift_terraform_plan: string | null
  }

  
  export interface Repo {
    id: number
    created_at: string
    updated_at: string
    deleted_at: null | string
    name: string
    repo_full_name: string
    repo_name: string
    repo_url: string
    vcs: string
    organisation_id: number
    Organisation: Organisation | undefined
  }

export interface Job {
    ID: number
    CreatedAt: string
    UpdatedAt: string
    DeletedAt: null | string
    DiggerJobID: string
    Status: string
    WorkflowRunURL: string
    WorkflowFile: string
    TerraformOutput: string
    PRNumber: number
    RepoFullName: string
    BranchName: string
  }
  